package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsRoleDO;
import com.macro.mall.model.ums.UmsRoleExQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsRoleMapper extends BaseMapper<UmsRoleDO> {
    long countByExample(UmsRoleExQuery example);

    int deleteByExample(UmsRoleExQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsRoleDO record);

    int insertSelective(UmsRoleDO record);

    List<UmsRoleDO> selectByExample(UmsRoleExQuery example);

    UmsRoleDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsRoleDO record, @Param("example") UmsRoleExQuery example);

    int updateByExample(@Param("record") UmsRoleDO record, @Param("example") UmsRoleExQuery example);

    int updateByPrimaryKeySelective(UmsRoleDO record);

    int updateByPrimaryKey(UmsRoleDO record);
}
